package com.woniu.been.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Video {
    private Integer videoId;
    private Integer courseId;
    private Integer chapterId;    // 章节ID
    private String fileName;      // MinIO中的文件名（唯一标识）
    private String title;
    private String link;
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    private String amendName;  // 修改人姓名
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date amendTime;  // 修改时间
    private Integer parentCategoryId;
}
